package com.industrial.white.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 时间限制对象 em_time_role
 * 
 * @author ZHOU_S
 * @date 2023-08-19
 */
public class EmTimeRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String baseId;

    /** 菜单id */
    @Excel(name = "菜单id")
    private String menuId;

    /** 申报开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申报开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseStartTime;

    /** 申报截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申报截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseEndTime;

    /** 备注 */
    @Excel(name = "备注")
    private String renarks;

    private String menuName;

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId() 
    {
        return baseId;
    }
    public void setMenuId(String menuId) 
    {
        this.menuId = menuId;
    }

    public String getMenuId() 
    {
        return menuId;
    }
    public void setBaseStartTime(Date baseStartTime) 
    {
        this.baseStartTime = baseStartTime;
    }

    public Date getBaseStartTime() 
    {
        return baseStartTime;
    }
    public void setBaseEndTime(Date baseEndTime) 
    {
        this.baseEndTime = baseEndTime;
    }

    public Date getBaseEndTime() 
    {
        return baseEndTime;
    }
    public void setRenarks(String renarks) 
    {
        this.renarks = renarks;
    }

    public String getRenarks() 
    {
        return renarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("baseId", getBaseId())
            .append("menuId", getMenuId())
            .append("baseStartTime", getBaseStartTime())
            .append("baseEndTime", getBaseEndTime())
            .append("renarks", getRenarks())
            .toString();
    }
}
